<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <script>

			function formatDate(time){
                var date = new Date(time);

                var year = date.getFullYear(),
                    month = date.getMonth() + 1,
                    day = date.getDate(),
                    hour = date.getHours(),
                    min = date.getMinutes(),
                    sec = date.getSeconds();
                var newTime = year + '-' +
                            month + '-' +
                            day + ' ' +
                            hour + ':' +
                            min + ':' +
                            sec;
                return newTime;
            }

			function fillData(json){
				document.getElementById("sp_station").innerHTML="车站：郑州东站";
				var date = formatDate(new Date().getTime());
				document.getElementById("p_date").innerHTML= date;
				document.getElementById("p_lk_name").innerHTML=json.lkxm;
				document.getElementById("p_lk_sfzh").innerHTML=json.sfzh;
				document.getElementById("p_train_num").innerHTML=json.cc;
				document.getElementById("p_lk_dh").innerHTML=json.lxfs;
				document.getElementById("p_jbr").innerHTML=json.rkjsr;
				document.getElementById("img_qmt").src=json.lkqmt;

				var things = json.thins;
				var oName="";
				for(var i=0; i<things.length; i++){
				    oName =oName+ things[i].wjpmc+" ";
				}
<!--				var oName = things[0].wjpmc;-->
<!--				var oName = things[0].things;-->
				document.getElementById("p_object_name").innerHTML=oName;
			}
	
		





    </script>
    <style>
			.zdy-table{
				width: 100%;
			}
			.bttwo{
				width: 100%;
			}
			.bttwo{
				width: 100%;
				height: 100%;
				display: flex;
				flex-flow: row nowrap;
				justify-content: space-between;
				padding: 0 8px;
				box-sizing: border-box;
			}
			.bttwo span{
				display: inline-block;
				line-height: 50px;
			}
			.zdy-table tr td,.zdy-table tr th{
				height: 50px;
				border-right: 1px solid #111;
				border-bottom: 1px solid #111;
			}
			.zdy-table tr:nth-child(3) td,.zdy-table tr:nth-child(4) td,.zdy-table tr:nth-child(5) td{
				width: 12.5%;
				padding: 0 6px;
				box-sizing: border-box;
			}
			.zdy-table{
				margin:0 auto;
				margin-top: 5%;
				width: 94%;
				border-left: 1px solid #111;
				border-top: 1px solid #111;
			}
			





    </style>
</head>
<body style="width: 100%;height: 100%;margin: 8,8,8,8;">
<table class="zdy-table" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <th colspan="8">旅客安检物品暂存单</th>
    </tr>
    <tr>
        <td colspan="8">
            <div class="bttwo">
                <span id="sp_station">车站</span>
                <span id="sp_a4_num"></span>
            </div>
        </td>
    </tr>
    <tr>
        <td>日期</td>
        <td id="p_date"></td>
        <td>列车车次</td>
        <td id="p_train_num"></td>
        <td>旅客姓名</td>
        <td id="p_lk_name"></td>
        <td>证件号码</td>
        <td id="p_lk_sfzh"></td>
    </tr>
    <tr>
        <td>物品名</td>
        <td id="p_object_name"></td>
        <td></td>
        <td></td>
        <td>旅客电话</td>
        <td id="p_lk_dh"></td>
        <td>待领取电话</td>
        <td id="p_dlq_dh"></td>
    </tr>
    <tr>
        <td>经办人</td>
        <td id="p_jbr"></td>
        <td>领取经办人</td>
        <td></td>
        <td>旅客签名</td>
        <td><img id="img_qmt" width="260" height="80" src=""/></td>
        <td></td>
        <td></td>
    </tr>
</table>
</body>
</html>
